package com.sxau.software_educational_system_backend.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * 
 * @TableName content
 */
@TableName(value ="content")
@Data
public class Content {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 文章类型，1指通知，2指动态，3指国际交流
     */
    private Integer type;

    /**
     * 文章内容-前端代码包含文件或图片的url
     */
    private String data;

    /**
     * 
     */
    private String title;

    /**
     * 
     */
    private LocalDateTime createTime;

    /**
     * 
     */
    private LocalDateTime updateTime;

}